﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Day;

namespace Benefit.Interface.Day
{
    public interface IAccountDayMoney
    {
        /// <summary>
        /// 删除某日所有数据
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        void Delete(int tradeHistoryId);
        /// <summary>
        /// 初始化某日数据
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="pdate"></param>
        void InitDayAccountDayMoney(int tradeHistoryId, string pdate);
        /// <summary>
        /// 获取某账户某日数据
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="accountid"></param>
        /// <returns></returns>
        AccountDayMoney GetAccountDayMoney(int tradeHistoryId, int accountid);
    }
}
